import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/shop/shopAppointment/list',
method: 'get',
params: params
})
}
export function createShopAppointment(data) {
return request({
url: '/shop/shopAppointment/create',
method: 'post',
data: data
})
}

export function deleteShopAppointment(id) {
return request({
url: '/shop/shopAppointment/delete/' + id,
method: 'get',
})
}

export function getShopAppointment(id) {
return request({
url: '/shop/shopAppointment/' + id,
method: 'get',
})
}

export function updateShopAppointment(id, data) {
return request({
url: '/shop/shopAppointment/update/' + id,
method: 'post',
data: data
})
}

